/**
 * 封装本地存储 存储数据与读取数据 的方法
 */

// 存储 token
export const SET_TOKEN = (token: string) => {
  localStorage.setItem('TOKEN', token)
}

// 读取 token
export const GET_TOKEN = () => {
  return localStorage.getItem('TOKEN')
}

// 删除 token
export const REMOVE_TOKEN = () => {
  localStorage.removeItem('TOKEN')
}
